package org.xxpay.mch.common.service;

import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;
import org.xxpay.core.common.constant.Constant;
import org.xxpay.core.service.*;

@Service
public class RpcCommonService {

    @Reference(version = Constant.XXPAY_SERVICE_VERSION, timeout = Constant.DUBBO_TIMEOUT, retries = Constant.DUBBO_RETRIES, check = false)
    public IXxPayAgentpayService rpcXxPayAgentpayService;

    @Reference(version = Constant.XXPAY_SERVICE_VERSION, timeout = Constant.DUBBO_TIMEOUT, retries = Constant.DUBBO_RETRIES, check = false)
    public IXxPayAlipayApiService rpcXxPayAlipayApiService;

    @Reference(version = Constant.XXPAY_SERVICE_VERSION, timeout = Constant.DUBBO_TIMEOUT, retries = Constant.DUBBO_RETRIES, check = false)
    public IXxPayPassageTestService rpcXxPayPassageTestService;

    @Reference(version = Constant.XXPAY_SERVICE_VERSION, timeout = Constant.DUBBO_TIMEOUT, retries = Constant.DUBBO_RETRIES, check = false)
    public IXxPayTransService rpcXxPayTransService;

    @Reference(version = Constant.XXPAY_SERVICE_VERSION, timeout = Constant.DUBBO_TIMEOUT, retries = Constant.DUBBO_RETRIES, check = false)
    public IXxPayNotifyService rpcXxPayNotifyService;

}
